﻿using System;
using GUI.Extensions;

namespace GUI.Controls.Shared
{
    public partial class Header : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (RequestExtensions.IsHomePage)
            {
                Controls.Add(LoadControl("/Controls/Shared/Header2.ascx"));
                return;
            }
            Controls.Add(LoadControl("/Controls/Shared/Header1.ascx"));
        }
    }
}